package com.order.service.impl;

import com.goods.entity.Order;
import com.order.mapper.OrderMapper;
import com.order.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OrderServiceImpl  implements OrderService {
    @Autowired
    private OrderMapper orderMapper;

    @Override
    public Integer saveOrder(Order order) {
        return orderMapper.saveOrder(order);
    }
}
